]> dgit.raspbian.org Git - gnome-shell.git/commit
dash: Set scale and opacity on parent actor
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 23 Aug 2018 15:17:21 +0000 (12:17 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 9 Oct 2018 01:42:24 +0000 (22:42 -0300)
commitefb3025d8cdb7ff5327e075e7fb1d0e981ee5426
tree43102c6cd706d688846689f7cea48f384d6642cf
parent81ec8215a0caeec83ec89a037f8fbbc842789dfb
dash: Set scale and opacity on parent actor

DashItemContainer currently animates the scale and opacity
of its child when zooming in. This is visible when adding
a new favorite item to the dash; the items will zoom in from
the center.

After the previous commit, however, the zoom animation got
slightly broken, and looked like the icon was coming from
the bottom instead of the center.

Fix that by setting the scale and opacity of DashItemContainer
itself, instead of its child. Remove the unused code after that
too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/153
js/ui/dash.js